WPTelegram\Core\modules\p2tg\PostSender D

Total Complexity 189
Dependencies 13
Dependents 1
Total lines 1,633
Lines of code 737
Logical lines of code 443
Comment lines 531
Methods 45
Properties 9

Methods 45

Method Rating Maintainability Complexity Lines of code
security_and_validity_check()
B
40 24 56
send_the_post()
B
39 22 58
set_form_data()
B
40 17 61
get_default_responses()
A
37 13 80
check_for_rules()
A
46 10 39
send_responses()
A
43 9 45
get_options()
S
51 7 28
modify_http_api_curl()
S
55 7 17
get_inline_keyboard()
S
54 5 21
update_post_meta()
S
60 5 13
get_link_preview_options()
S
56 4 18
may_be_save_options()
S
63 5 10
get_featured_image_source()
S
61 4 12
get_file_responses()
S
54 3 20
get_responses()
S
56 3 17
may_be_clean_up()
S
65 4 8
add_reply_markup()
S
61 3 13
set_options()
S
62 3 11
may_be_setup_postdata()
S
63 3 11
add_hidden_image_url()
S
64 3 9
may_be_reset_postdata()
S
67 3 8
get_defaults()
S
51 1 29
send_post()
S
61 2 12
bypass_rules()
S
71 2 6
save_options_to_meta()
S
67 2 7
get_parsed_button_url()
S
58 1 15
delayed_post()
S
71 2 6
future_to_publish()
S
70 2 6
delay_in_posting()
S
66 2 8
get_saved_options()
S
67 2 7
clear_scheduled_hook()
S
72 2 5
get_valid_post_statuses()
S
61 1 14
delay_post()
S
61 1 12
handle_wp_error()
S
67 1 7
add_admin_notice_query_var()
S
73 1 4
get_response_text()
S
71 1 5
init()
S
68 1 7
get_message_template()
S
74 1 4
rules_apply()
S
74 1 4
process()
S
68 1 7
is_status_of_type()
S
74 1 4
is_valid_status()
S
74 1 4
rest_after_insert()
S
80 1 3
wp_insert_post()
S
80 1 3
defaults_overridden()
S
80 1 3